import request from '@/common/js/request'
// 查询文章分页列表
export function pageArticle(page) {
    return request({
        url: '/api-blog/web/article/pageArticle',
        method: 'post',
        data: page
    })
}

// 查询文章分页列表
export function getArticle(id) {
    return request({
        url: '/api-blog/web/article/getArticleById/'+id,
        method: 'get'
    })
}

// 查询文章分页列表
export function addArticleReadNum(id) {
    return request({
        url: '/api-blog/web/article/addArticleReadNum/'+id,
        method: 'post'
    })
}
